package org.github.manx98.jlibhac.tools.es;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/3 18:32
 */
public enum TitleKeyType {
    Common,
    Personalized;

    public static TitleKeyType valueOf(byte value) {
        for (TitleKeyType titleKeyType : values()) {
            if (titleKeyType.ordinal() == value) {
                return titleKeyType;
            }
        }
        throw new IllegalArgumentException("Invalid TitleKeyType value: " + value);
    }
}
